import { http } from "../utils/http"
/**
 * 添加购物车
 */
export const getShoppingCart = (data) => {
    return http({
        method: 'POST',
        url: '/order/queryCarOrder',
        data,
    })
}

/**
 * 删除购物车
 */
export const deleteCarOrderById = (data) => {
    return http({
        method: 'POST',
        url: '/order/deleteCarOrderById',
        data,
    })
}

/**
 * 编辑购物车数量
 */
export const editShoppingCarNum = (data) => {
    return http({
        method: 'POST',
        url: '/order/editShoppingCarNum',
        data,
    })
}
